<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>singer</title>
    <link rel="icon" type="image/x-icon" href="picture/图标logo.ico">
    <script>
        function countDown()
        {
            //获取初始时间
            var time = document.getElementById("Time");
            
            //获取到id为time标签中的数字时间
            if(time.innerHTML == 0){
                //等于0时清除计时，并跳转该指定页面
                window.location.href="player.html";
            }else{
                time.innerHTML = time.innerHTML-1;
            }
        }
        //1000毫秒调用一次
        window.setInterval("countDown()",1000);
    </script>
    <link rel="stylesheet" href="css/re.css" />
  </head>
  <body>
    <div>
      <div class="box">
        <h4>You have remark successfully, the page will be automatically redirected to the player page in <a id="Time">5</a> seconds</h4>
      </div>
    </div>
  </body>
</html>
